#include "StimBase.h"


void CStimBase::Update( const std::vector<double>& vEyePos_, const double& dYaw_ )
{
    Update(vEyePos_,dYaw_);  // Update is virtual, so derived will be called, even through base
}

void CStimBase::Update( const double& dX_, const double& dY_, const double& dZ_, const double& dYaw_ )
{
    CMatrix<double> mEyePos(3,1);

    mEyePos(0) = dX_;
    mEyePos(1) = dY_;
    mEyePos(2) = dZ_;

    Update(mEyePos,dYaw_);  // Update is virtual, so derived will be called, even through base
}